package com.demo.dune.domain;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * MemCreateInput.
 * @author Allen
 * @version 1.0 2022-04-04
 */
@Getter
@Setter
@ToString
public class MemCreateInput implements Serializable {
	
	private static final long serialVersionUID = 7856652165145358528L;

	@NotEmpty(message = "name must input")
	@Size(max = 20, message = "name length cannot exceed 20")
	private String name;

	@NotEmpty(message = "type must input")
	@Size(max = 3, message = "type length cannot exceed 3")
	private String type;

}
